package com.anyou.mall.order.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

@Data
@NoArgsConstructor
@ApiModel("订单发货列表参数")
public class OrderDeliveryParam {

    @NotBlank
    @ApiModelProperty(value = "订单号", required = true)
    private String orderNo;

    @NotNull
    @ApiModelProperty(value = "物流编号", required = true)
    private Long logisticsId;

    @NotBlank
    @ApiModelProperty(value = "物流单号", required = true)
    private String logisticsNo;

    @NotBlank
    @ApiModelProperty(value = "送货联系人姓名", required = true)
    private String contactName;

    @NotBlank
    @ApiModelProperty(value = "送货联系人电话", required = true)
    private String contactPhone;
}
